package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum PanelLevel implements IEnum {

	UNKNOWN(-1, "？"),
	NONE(0, "─"),
	EL(4, "E-"),
	E(5, "E"),
	EP(6, "E+"),
	EPP(7, "E++"),
	DL(14, "D-"),
	D(15, "D"),
	DP(16, "D+"),
	DPP(17, "D++"),
	CL(24, "C-"),
	C(25, "C"),
	CP(26, "C+"),
	CPP(27, "C++"),
	BL(34, "B-"),
	B(35, "B"),
	BP(36, "B+"),
	BPP(37, "B++"),
	AL(44, "A-"),
	A(45, "A"),
	AP(46, "A+"),
	APP(47, "A++"),
	APPP(48, "A+++"),
	EX(55, "EX");

	private int value;
	private String desc;

	private PanelLevel(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
